package com.base.service.impl;

import com.base.mapper.voipmapper.TbkBrandShopMapper;
import com.base.po.tbk.TbkBrandShop;
import com.base.po.tbk.TbkBrandShopExample;
import com.base.service.TbkBrandShopService;
import com.base.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("tbkBrandShopService")
public class TbkBrandShopServiceImpl implements TbkBrandShopService {
	
	@Autowired
	private TbkBrandShopMapper tbkBrandShopMapper;


	@Override
	public int countByExample(TbkBrandShopExample example) {
		return tbkBrandShopMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(TbkBrandShopExample example) {
		return tbkBrandShopMapper.deleteByExample(example);
	}

	@Override
	public int insert(TbkBrandShop record) {
		return tbkBrandShopMapper.insert(record);
	}

	@Override
	public int insertSelective(TbkBrandShop record) {
		return tbkBrandShopMapper.insertSelective(record);
	}

	@Override
	public List<TbkBrandShop> selectByExample(TbkBrandShopExample example) {
		return tbkBrandShopMapper.selectByExample(example);
	}

	@Override
	public List<TbkBrandShop> selectAll(Page page, String parentid, String categoryid, String name, Integer isall) {
		return tbkBrandShopMapper.selectAll(page, parentid, categoryid, name, isall);
	}

	@Override
	public List<TbkBrandShop> selectByName(String name) {
		return tbkBrandShopMapper.selectByName(name);
	}

	@Override
	public TbkBrandShop selectByPrimaryKey(String id) {
		return tbkBrandShopMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(TbkBrandShop record, TbkBrandShopExample example) {
		return tbkBrandShopMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(TbkBrandShop record, TbkBrandShopExample example) {
		return tbkBrandShopMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(TbkBrandShop record) {
		return tbkBrandShopMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int countAll(String parentid, String categoryid, String name) {
		return tbkBrandShopMapper.countAll(parentid, categoryid, name);
	}
}
